package min.chapter.three;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ListFilterAcquisition {

	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext(
				"min/chapter/three/ListFilter.xml");

		ListProcess p = context.getBean("bean", ListProcess.class);
		for (ListFilter f : p.getFilters()) {
			f.print();
		}
	}
}
